package com.springtest.demo.serices;

import com.springtest.demo.model.ResultEntity;
import com.springtest.demo.model.Teacher;

public interface TeacherService {

public ResultEntity save(Teacher t);
	
	public ResultEntity update(Teacher t);
	
	public ResultEntity delete(Teacher t);
	
	public ResultEntity delete(int id);
	
	public ResultEntity findById(int id);
	
	public ResultEntity findAll();
}
